<?php

$backend_settings = array(
    'defaultController' => 'index',
    'components' => array(
        'urlManager' => array(
            'class' => 'MyUrlManager',
            'urlFormat' => 'path',
            'rules' => array(                
                '/' => 'search/index',
                'job/<alias:.*?>-<id:[a-zA-Z0-9]+>' => array('job/detail', 'urlSuffix' => '.html'),                
                'static/<alias:.*?>' => array('about/detail', 'urlSuffix' => '.html'),
                'backend' => 'index',
                'backend/<controller>' => '<controller>',
                'backend/<controller>/<action>' => '<controller>/<action>',
                //'backend/<controller>/<action>/<id>' => '<controller>/<action>/<id>',
            ),
        )
    )
);
return CMap::mergeArray(require(dirname(__FILE__) . '/main.php'), $backend_settings);